package com.woniuxy.service.impl;

import com.woniuxy.dao.IOrderDao;
import com.woniuxy.domain.Order;
import com.woniuxy.service.IOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderServiceImpl implements IOrderService {

    @Autowired
    private IOrderDao iOrderDao;

    @Override
    public void createOrder(Order order) {
        iOrderDao.save(order);
    }
}
